<template>
  <div id="app">
    <Header></Header>
    <router-view></router-view>
    <Footer v-show="$route.meta.showFooter"></Footer>
    <!-- <HelloWorld msg="Welcome to Your Vue.js App"/> -->
  </div>
</template>

<script>
// import HelloWorld from './components/HelloWorld.vue'
import Header from './components/Header/inidex.vue'
import Footer from './components/Footer/index.vue'
export default {
  name: 'App',
  components: {
    // HelloWorld
    Header,
    Footer
  },
  mounted(){
    
     //通知vuex发请求
    this.$store.dispatch('categoryList')
  }
}
</script>

<style lang="less" scoped
></style>